package com.zhejiangzhengyuan.municipal_common.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;






/**
 * @author lin_ju
 * @create on 2019/11/27
 */
@ApiModel("修改账号请求实体类")
@Data
public class UpdateSubjectDto {
    @ApiModelProperty(value = "认证主体名称，常为用户名",required = true)
    @NotBlank(message = "常为用户名不能为空")
    private String subjectName;

    @ApiModelProperty(value = "认证主体密码",required = true)
    @NotBlank(message = "认证主体密码不能为空")
    private String password;

}
